#ifndef SUBJECT_H
#define SUBJECT_H

#include "Observer/observer.h"

class Subject
{
public:
    virtual ~Subject();
public:
    virtual void attach(Observer *obj)=0;
    virtual void detach(Observer *obj)=0;
    virtual void notify()=0;
};

#endif // SUBJECT_H
